package com.onlinepay.service;

import com.alibaba.fastjson.JSONObject;
import com.onlinepay.entity.QueryListParams;
import com.onlinepay.entity.QueryParams;
import com.onlinepay.exception.EncryptException;

/**
 * @Author: linjl
 * @Date: 2025/3/12 14:54
 * @Description:
 */
public interface PaymentService {

    String payment(JSONObject map, String paymentUrl, String refererUrl, String paymentType) throws EncryptException,Exception;

    String query(QueryParams cryptoQueryParams, String queryUrl, String refererUrl) throws EncryptException,Exception ;

    String queryList(QueryListParams cryptoQueryListParams, String queryUrl, String refererUrl) throws EncryptException,Exception ;

    String refund(JSONObject map, String refundUrl, String refererUrl) throws EncryptException,Exception;
}
